package com.alpha.eceasy.mall.api.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

/**
 * @author huangpengfei
 */
@Data
public class MallActivityPackageDetailDTO {
	@Schema(description =  "商品id")
	private Long id;
	@Schema(description =  "类型，1处方，2非处方，3普通商品,4活动包,5奖励商品")
	private Integer type;

	@Schema(description =  "批准文号全名")
	private String approvalName;

	@Schema(description =  "批准文号")
	private String approval;

	@Schema(description =  "标签")
	private String label;

	@Schema(description =  "商品二级品类名称")
	private String categoryName;

	/**
	 * 商品关联信息
	 */

	@Schema(description =  "id")
	private Long pharmacyId;

	@Schema(description =  "商品名称集合")
	private List<String> mallCommodityNameList;

	@Schema(description =  "权益包code")
	private String rightsPackageCode;

	@Schema(description =  "权益包名称")
	private String rightsPackageName;

	/**
	 * 规格信息
	 */

	@Schema(description =  "销售价格")
	private BigDecimal price;

	@Schema(description =  "成本价格")
	private BigDecimal costPrice;

	@Schema(description =  "库存")
	private Integer inventory;

	@Schema(description =  "规格名称")
	private String specificationName;

	@Schema(description =  "用法")
	private String usages;

	@Schema(description =  "产地")
	private String producingArea;

	@Schema(description =  "包装单位")
	private String packagingUnit;

	@Schema(description =  "计量")
	private String dose;

	@Schema(description =  "剂量单位")
	private String doseUnit;

	@Schema(description =  "转换系数")
	private Integer conversionCoefficient;

	@Schema(description =  "最小包装单位")
	private String minimumPackagingUnit;

	@Schema(description =  "药品批号")
	private String barCode;

	@Schema(description =  "批准文号")
	private String code;

	@Schema(description =  "药品类型（化学药、中成药）")
	private String drugsType;

	@Schema(description =  "说明书")
	private String instructions;

	@Schema(description =  "使用频度")
	private String frequency;

	@Schema(description =  "每次用量")
	private String dosage;

	@Schema(description =  "对应疾病")
	private String disease;

	@Schema(description =  "对应症状")
	private String symptom;

	@Schema(description =  "详情图")
	private String content;

	@Schema(description =  "主图轮播图")
	private String cover;

	@Schema(description =  "图标/封面图")
	private String icon;

	@Schema(description = "状态0-未上架1-已上架")
	private Boolean state;

	@Schema(description = "创建时间")
	private LocalDateTime createTime;

}
